/*
 * Copyright (c) 2018-2999 九五云信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.delivery.comment.param;

import com.yami.shop.bean.model.OrderItem;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author LGH
 */
@Data
public class DeliveryOrderItemParam {

	@NotBlank(message="订单号不能为空")
	@ApiModelProperty(value = "订单号",required=true)
	private String orderNumber;

	@NotBlank(message="快递公司id不能为空")
	@ApiModelProperty(value = "快递公司",required=true)
	private Long dvyId;

	@NotBlank(message="物流单号不能为空")
	@ApiModelProperty(value = "物流单号",required=true)
	private String dvyFlowId;

	@NotBlank(message="发货方式不能为空")
	@ApiModelProperty(value = "发货方式",required=true)
	private Integer deliveryType;

	private List<OrderItem> selectOrderItems;
}
